package com.peas.platform.module.icims.expenditure.initialize.dto;

import java.util.*;
import java.math.*;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 额度下达初始数据
@Data
@EqualsAndHashCode(callSuper = false)
public class ExpenditureInitQuotaDto extends BaseDto {

    // 指标单ID
    // （指标单表）外键
    private Long expenditureKpiId;

    // 额度下达单编码
    // 自动生成
    @Condition(operator = ConditionOperator.IN)
    private String quotaCode;

    // 日期
    private Date quotaDate;

    // 预算指标
    private String kpi;

    // 组织架构(部门)ID
    // （组织架构表）外键
    private Long submitOrganizationId;

    // 用户ID
    // （用户表）外键
    private Long submitUserId;

    // 额度下达初始化金额
    private BigDecimal amount;

    // 财政项目ID
    // （财政项目表）多级外键
    private String expenditureFiscalId;

    // 摘要
    private String summary;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
    private Date quotaDateStart;
    private Date quotaDateEnd;
}
